package flst.ipiweb.common;

import java.util.Random;

public class TypeCode {
	private int id;
	private String name;

	public TypeCode() {
		Random r = new Random();
		this.setId(r.nextInt(Integer.MAX_VALUE));
	}

	public TypeCode(int id) {
		super();
		this.setId(id);
	}

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

}
